3.23.90 \(\int \frac {(d+e x)^{3/2}}{a+b x+c x^2} \, dx\) [2290]
Optimal. Leaf size=322 \[ \frac {2 e \sqrt {d+e x}}{c}-\frac {\sqrt {2} \left (2 c^2 d^2+b \left (b-\sqrt {b^2-4 a c}\right ) e^2-2 c e \left (b d-\sqrt {b^2-4 a c} d+a e\right )\right ) \tanh ^{-1}\left (\frac {\sqrt {2} \sqrt {c} \sqrt {d+e x}}{\sqrt {2 c d-\left (b-\sqrt {b^2-4 a c}\right ) e}}\right )}{c^{3/2} \sqrt {b^2-4 a c} \sqrt {2 c d-\left (b-\sqrt {b^2-4 a c}\right ) e}}+\frac {\sqrt {2} \left (2 c^2 d^2+b \left (b+\sqrt {b^2-4 a c}\right ) e^2-2 c e \left (b d+\sqrt {b^2-4 a c} d+a e\right )\right ) \tanh ^{-1}\left (\frac {\sqrt {2} \sqrt {c} \sqrt {d+e x}}{\sqrt {2 c d-\left (b+\sqrt {b^2-4 a c}\right ) e}}\right )}{c^{3/2} \sqrt {b^2-4 a c} \sqrt {2 c d-\left (b+\sqrt {b^2-4 a c}\right ) e}} \]
[Out]
2*e*(e*x+d)^(1/2)/c-arctanh(2^(1/2)*c^(1/2)*(e*x+d)^(1/2)/(2*c*d-e*(b-(-4*a*c+b^2)^(1/2)))^(1/2))*2^(1/2)*(2*c
^2*d^2+b*e^2*(b-(-4*a*c+b^2)^(1/2))-2*c*e*(b*d+a*e-d*(-4*a*c+b^2)^(1/2)))/c^(3/2)/(-4*a*c+b^2)^(1/2)/(2*c*d-e*
(b-(-4*a*c+b^2)^(1/2)))^(1/2)+arctanh(2^(1/2)*c^(1/2)*(e*x+d)^(1/2)/(2*c*d-e*(b+(-4*a*c+b^2)^(1/2)))^(1/2))*2^
(1/2)*(2*c^2*d^2+b*e^2*(b+(-4*a*c+b^2)^(1/2))-2*c*e*(b*d+a*e+d*(-4*a*c+b^2)^(1/2)))/c^(3/2)/(-4*a*c+b^2)^(1/2)
/(2*c*d-e*(b+(-4*a*c+b^2)^(1/2)))^(1/2)
________________________________________________________________________________________
Rubi [A]
time = 0.84, antiderivative size = 322, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 4, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.182, Rules used = {717, 840, 1180,
214} \begin {gather*} -\frac {\sqrt {2} \left (-2 c e \left (-d \sqrt {b^2-4 a c}+a e+b d\right )+b e^2 \left (b-\sqrt {b^2-4 a c}\right )+2 c^2 d^2\right ) \tanh ^{-1}\left (\frac {\sqrt {2} \sqrt {c} \sqrt {d+e x}}{\sqrt {2 c d-e \left (b-\sqrt {b^2-4 a c}\right )}}\right )}{c^{3/2} \sqrt {b^2-4 a c} \sqrt {2 c d-e \left (b-\sqrt {b^2-4 a c}\right )}}+\frac {\sqrt {2} \left (-2 c e \left (d \sqrt {b^2-4 a c}+a e+b d\right )+b e^2 \left (\sqrt {b^2-4 a c}+b\right )+2 c^2 d^2\right ) \tanh ^{-1}\left (\frac {\sqrt {2} \sqrt {c} \sqrt {d+e x}}{\sqrt {2 c d-e \left (\sqrt {b^2-4 a c}+b\right )}}\right )}{c^{3/2} \sqrt {b^2-4 a c} \sqrt {2 c d-e \left (\sqrt {b^2-4 a c}+b\right )}}+\frac {2 e \sqrt {d+e x}}{c} \end {gather*}
Antiderivative was successfully verified.
[In]
Int[(d + e*x)^(3/2)/(a + b*x + c*x^2),x]
[Out]
(2*e*Sqrt[d + e*x])/c - (Sqrt[2]*(2*c^2*d^2 + b*(b - Sqrt[b^2 - 4*a*c])*e^2 - 2*c*e*(b*d - Sqrt[b^2 - 4*a*c]*d
+ a*e))*ArcTanh[(Sqrt[2]*Sqrt[c]*Sqrt[d + e*x])/Sqrt[2*c*d - (b - Sqrt[b^2 - 4*a*c])*e]])/(c^(3/2)*Sqrt[b^2 -
4*a*c]*Sqrt[2*c*d - (b - Sqrt[b^2 - 4*a*c])*e]) + (Sqrt[2]*(2*c^2*d^2 + b*(b + Sqrt[b^2 - 4*a*c])*e^2 - 2*c*e
*(b*d + Sqrt[b^2 - 4*a*c]*d + a*e))*ArcTanh[(Sqrt[2]*Sqrt[c]*Sqrt[d + e*x])/Sqrt[2*c*d - (b + Sqrt[b^2 - 4*a*c
])*e]])/(c^(3/2)*Sqrt[b^2 - 4*a*c]*Sqrt[2*c*d - (b + Sqrt[b^2 - 4*a*c])*e])
Rule 214
Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[-a/b, 2]/a)*ArcTanh[x/Rt[-a/b, 2]], x] /; FreeQ[{a, b},
x] && NegQ[a/b]
Rule 717
Int[((d_.) + (e_.)*(x_))^(m_)/((a_.) + (b_.)*(x_) + (c_.)*(x_)^2), x_Symbol] :> Simp[e*((d + e*x)^(m - 1)/(c*(
m - 1))), x] + Dist[1/c, Int[(d + e*x)^(m - 2)*(Simp[c*d^2 - a*e^2 + e*(2*c*d - b*e)*x, x]/(a + b*x + c*x^2)),
x], x] /; FreeQ[{a, b, c, d, e}, x] && NeQ[b^2 - 4*a*c, 0] && NeQ[c*d^2 - b*d*e + a*e^2, 0] && NeQ[2*c*d - b*
e, 0] && GtQ[m, 1]
Rule 840
Int[((f_.) + (g_.)*(x_))/(Sqrt[(d_.) + (e_.)*(x_)]*((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)), x_Symbol] :> Dist[2,
Subst[Int[(e*f - d*g + g*x^2)/(c*d^2 - b*d*e + a*e^2 - (2*c*d - b*e)*x^2 + c*x^4), x], x, Sqrt[d + e*x]], x] /
; FreeQ[{a, b, c, d, e, f, g}, x] && NeQ[b^2 - 4*a*c, 0] && NeQ[c*d^2 - b*d*e + a*e^2, 0]
Rule 1180
Int[((d_) + (e_.)*(x_)^2)/((a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4), x_Symbol] :> With[{q = Rt[b^2 - 4*a*c, 2]}, Di
st[e/2 + (2*c*d - b*e)/(2*q), Int[1/(b/2 - q/2 + c*x^2), x], x] + Dist[e/2 - (2*c*d - b*e)/(2*q), Int[1/(b/2 +
q/2 + c*x^2), x], x]] /; FreeQ[{a, b, c, d, e}, x] && NeQ[b^2 - 4*a*c, 0] && NeQ[c*d^2 - a*e^2, 0] && PosQ[b^
2 - 4*a*c]
Rubi steps
\begin {align*} \int \frac {(d+e x)^{3/2}}{a+b x+c x^2} \, dx &=\frac {2 e \sqrt {d+e x}}{c}+\frac {\int \frac {c d^2-a e^2+e (2 c d-b e) x}{\sqrt {d+e x} \left (a+b x+c x^2\right )} \, dx}{c}\\ &=\frac {2 e \sqrt {d+e x}}{c}+\frac {2 \text {Subst}\left (\int \frac {-d e (2 c d-b e)+e \left (c d^2-a e^2\right )+e (2 c d-b e) x^2}{c d^2-b d e+a e^2+(-2 c d+b e) x^2+c x^4} \, dx,x,\sqrt {d+e x}\right )}{c}\\ &=\frac {2 e \sqrt {d+e x}}{c}+\frac {\left (2 c^2 d^2+b \left (b-\sqrt {b^2-4 a c}\right ) e^2-2 c e \left (b d-\sqrt {b^2-4 a c} d+a e\right )\right ) \text {Subst}\left (\int \frac {1}{-\frac {1}{2} \sqrt {b^2-4 a c} e+\frac {1}{2} (-2 c d+b e)+c x^2} \, dx,x,\sqrt {d+e x}\right )}{c \sqrt {b^2-4 a c}}-\frac {\left (2 c^2 d^2+b \left (b+\sqrt {b^2-4 a c}\right ) e^2-2 c e \left (b d+\sqrt {b^2-4 a c} d+a e\right )\right ) \text {Subst}\left (\int \frac {1}{\frac {1}{2} \sqrt {b^2-4 a c} e+\frac {1}{2} (-2 c d+b e)+c x^2} \, dx,x,\sqrt {d+e x}\right )}{c \sqrt {b^2-4 a c}}\\ &=\frac {2 e \sqrt {d+e x}}{c}-\frac {\sqrt {2} \left (2 c^2 d^2+b \left (b-\sqrt {b^2-4 a c}\right ) e^2-2 c e \left (b d-\sqrt {b^2-4 a c} d+a e\right )\right ) \tanh ^{-1}\left (\frac {\sqrt {2} \sqrt {c} \sqrt {d+e x}}{\sqrt {2 c d-\left (b-\sqrt {b^2-4 a c}\right ) e}}\right )}{c^{3/2} \sqrt {b^2-4 a c} \sqrt {2 c d-\left (b-\sqrt {b^2-4 a c}\right ) e}}+\frac {\sqrt {2} \left (2 c^2 d^2+b \left (b+\sqrt {b^2-4 a c}\right ) e^2-2 c e \left (b d+\sqrt {b^2-4 a c} d+a e\right )\right ) \tanh ^{-1}\left (\frac {\sqrt {2} \sqrt {c} \sqrt {d+e x}}{\sqrt {2 c d-\left (b+\sqrt {b^2-4 a c}\right ) e}}\right )}{c^{3/2} \sqrt {b^2-4 a c} \sqrt {2 c d-\left (b+\sqrt {b^2-4 a c}\right ) e}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains complex when optimal does not.
time = 1.12, size = 364, normalized size = 1.13 \begin {gather*} \frac {2 \sqrt {c} e \sqrt {d+e x}+\frac {\left (-2 i c^2 d^2-b \left (i b+\sqrt {-b^2+4 a c}\right ) e^2+2 c e \left (i b d+\sqrt {-b^2+4 a c} d+i a e\right )\right ) \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {c} \sqrt {d+e x}}{\sqrt {-2 c d+b e-i \sqrt {-b^2+4 a c} e}}\right )}{\sqrt {-\frac {b^2}{2}+2 a c} \sqrt {-2 c d+\left (b-i \sqrt {-b^2+4 a c}\right ) e}}+\frac {\left (2 i c^2 d^2-b \left (-i b+\sqrt {-b^2+4 a c}\right ) e^2+2 c e \left (-i b d+\sqrt {-b^2+4 a c} d-i a e\right )\right ) \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {c} \sqrt {d+e x}}{\sqrt {-2 c d+b e+i \sqrt {-b^2+4 a c} e}}\right )}{\sqrt {-\frac {b^2}{2}+2 a c} \sqrt {-2 c d+\left (b+i \sqrt {-b^2+4 a c}\right ) e}}}{c^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
Integrate[(d + e*x)^(3/2)/(a + b*x + c*x^2),x]
[Out]
(2*Sqrt[c]*e*Sqrt[d + e*x] + (((-2*I)*c^2*d^2 - b*(I*b + Sqrt[-b^2 + 4*a*c])*e^2 + 2*c*e*(I*b*d + Sqrt[-b^2 +
4*a*c]*d + I*a*e))*ArcTan[(Sqrt[2]*Sqrt[c]*Sqrt[d + e*x])/Sqrt[-2*c*d + b*e - I*Sqrt[-b^2 + 4*a*c]*e]])/(Sqrt[
-1/2*b^2 + 2*a*c]*Sqrt[-2*c*d + (b - I*Sqrt[-b^2 + 4*a*c])*e]) + (((2*I)*c^2*d^2 - b*((-I)*b + Sqrt[-b^2 + 4*a
*c])*e^2 + 2*c*e*((-I)*b*d + Sqrt[-b^2 + 4*a*c]*d - I*a*e))*ArcTan[(Sqrt[2]*Sqrt[c]*Sqrt[d + e*x])/Sqrt[-2*c*d
+ b*e + I*Sqrt[-b^2 + 4*a*c]*e]])/(Sqrt[-1/2*b^2 + 2*a*c]*Sqrt[-2*c*d + (b + I*Sqrt[-b^2 + 4*a*c])*e]))/c^(3/
2)
________________________________________________________________________________________
Maple [A]
time = 0.82, size = 353, normalized size = 1.10 Too large to display
Verification of antiderivative is not currently implemented for this CAS.
[In]
int((e*x+d)^(3/2)/(c*x^2+b*x+a),x,method=_RETURNVERBOSE)
[Out]
2*e*(1/c*(e*x+d)^(1/2)-1/2*(-2*a*c*e^2+b^2*e^2-2*b*c*d*e+2*c^2*d^2-(-e^2*(4*a*c-b^2))^(1/2)*b*e+2*(-e^2*(4*a*c
-b^2))^(1/2)*c*d)/c/(-e^2*(4*a*c-b^2))^(1/2)*2^(1/2)/((-b*e+2*c*d+(-e^2*(4*a*c-b^2))^(1/2))*c)^(1/2)*arctanh(c
*(e*x+d)^(1/2)*2^(1/2)/((-b*e+2*c*d+(-e^2*(4*a*c-b^2))^(1/2))*c)^(1/2))+1/2*(2*a*c*e^2-b^2*e^2+2*b*c*d*e-2*c^2
*d^2-(-e^2*(4*a*c-b^2))^(1/2)*b*e+2*(-e^2*(4*a*c-b^2))^(1/2)*c*d)/c/(-e^2*(4*a*c-b^2))^(1/2)*2^(1/2)/((b*e-2*c
*d+(-e^2*(4*a*c-b^2))^(1/2))*c)^(1/2)*arctan(c*(e*x+d)^(1/2)*2^(1/2)/((b*e-2*c*d+(-e^2*(4*a*c-b^2))^(1/2))*c)^
(1/2)))
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate((e*x+d)^(3/2)/(c*x^2+b*x+a),x, algorithm="maxima")
[Out]
integrate((x*e + d)^(3/2)/(c*x^2 + b*x + a), x)
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 2688 vs.
\(2 (282) = 564\).
time = 3.49, size = 2688, normalized size = 8.35 \begin {gather*} \text {Too large to display} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate((e*x+d)^(3/2)/(c*x^2+b*x+a),x, algorithm="fricas")
[Out]
-1/2*(sqrt(2)*c*sqrt((2*c^3*d^3 - 3*b*c^2*d^2*e + 3*(b^2*c - 2*a*c^2)*d*e^2 - (b^3 - 3*a*b*c)*e^3 + (b^2*c^3 -
4*a*c^4)*sqrt((9*c^4*d^4*e^2 - 18*b*c^3*d^3*e^3 + 3*(5*b^2*c^2 - 2*a*c^3)*d^2*e^4 - 6*(b^3*c - a*b*c^2)*d*e^5
+ (b^4 - 2*a*b^2*c + a^2*c^2)*e^6)/(b^2*c^6 - 4*a*c^7)))/(b^2*c^3 - 4*a*c^4))*log(sqrt(2)*(3*(b^2*c^2 - 4*a*c
^3)*d^2*e^2 - 3*(b^3*c - 4*a*b*c^2)*d*e^3 + (b^4 - 5*a*b^2*c + 4*a^2*c^2)*e^4 - (2*(b^2*c^4 - 4*a*c^5)*d - (b^
3*c^3 - 4*a*b*c^4)*e)*sqrt((9*c^4*d^4*e^2 - 18*b*c^3*d^3*e^3 + 3*(5*b^2*c^2 - 2*a*c^3)*d^2*e^4 - 6*(b^3*c - a*
b*c^2)*d*e^5 + (b^4 - 2*a*b^2*c + a^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a*c^4)*sqrt((9*c^4*d^4*e^2 - 18*b*c^3*d^3*e^3 + 3*(5*
b^2*c^2 - 2*a*c^3)*d^2*e^4 - 6*(b^3*c - a*b*c^2)*d*e^5 + (b^4 - 2*a*b^2*c + a^2*c^2)*e^6)/(b^2*c^6 - 4*a*c^7))
)/(b^2*c^3 - 4*a*c^4)) - 4*(3*c^3*d^4*e - 6*b*c^2*d^3*e^2 + 2*(2*b^2*c + a*c^2)*d^2*e^3 - (b^3 + 2*a*b*c)*d*e^
4 + (a*b^2 - a^2*c)*e^5)*sqrt(x*e + d)) - 4*sqrt(x*e + d)*e)/c
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate((e*x+d)**(3/2)/(c*x**2+b*x+a),x)
[Out]
Timed out
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 783 vs.
\(2 (282) = 564\).
time = 1.55, size = 783, normalized size = 2.43 \begin {gather*} \frac {2 \, \sqrt {x e + d} e}{c} + \frac {{\left (\sqrt {-4 \, c^{2} d + 2 \, {\left (b c - \sqrt {b^{2} - 4 \, a c} c\right )} e} {\left (2 \, {\left (b^{2} c - 4 \, a c^{2}\right )} d e^{2} - {\left (b^{3} - 4 \, a b c\right )} e^{3}\right )} c^{2} - 2 \, {\left (\sqrt {b^{2} - 4 \, a c} c^{3} d^{2} e - \sqrt {b^{2} - 4 \, a c} b c^{2} d e^{2} + \sqrt {b^{2} - 4 \, a c} a c^{2} e^{3}\right )} \sqrt {-4 \, c^{2} d + 2 \, {\left (b c - \sqrt {b^{2} - 4 \, a c} c\right )} e} {\left | c \right |} - {\left (4 \, c^{5} d^{3} - 6 \, b c^{4} d^{2} e + 4 \, {\left (b^{2} c^{3} - a c^{4}\right )} d e^{2} - {\left (b^{3} c^{2} - 2 \, a b c^{3}\right )} e^{3}\right )} \sqrt {-4 \, c^{2} d + 2 \, {\left (b c - \sqrt {b^{2} - 4 \, a c} c\right )} e}\right )} \arctan \left (\frac {2 \, \sqrt {\frac {1}{2}} \sqrt {x e + d}}{\sqrt {-\frac {2 \, c^{2} d - b c e + \sqrt {-4 \, {\left (c^{2} d^{2} - b c d e + a c e^{2}\right )} c^{2} + {\left (2 \, c^{2} d - b c e\right )}^{2}}}{c^{2}}}}\right )}{4 \, {\left (\sqrt {b^{2} - 4 \, a c} c^{4} d^{2} - \sqrt {b^{2} - 4 \, a c} b c^{3} d e + \sqrt {b^{2} - 4 \, a c} a c^{3} e^{2}\right )} c^{2}} - \frac {{\left (\sqrt {-4 \, c^{2} d + 2 \, {\left (b c + \sqrt {b^{2} - 4 \, a c} c\right )} e} {\left (2 \, {\left (b^{2} c - 4 \, a c^{2}\right )} d e^{2} - {\left (b^{3} - 4 \, a b c\right )} e^{3}\right )} c^{2} + 2 \, {\left (\sqrt {b^{2} - 4 \, a c} c^{3} d^{2} e - \sqrt {b^{2} - 4 \, a c} b c^{2} d e^{2} + \sqrt {b^{2} - 4 \, a c} a c^{2} e^{3}\right )} \sqrt {-4 \, c^{2} d + 2 \, {\left (b c + \sqrt {b^{2} - 4 \, a c} c\right )} e} {\left | c \right |} - {\left (4 \, c^{5} d^{3} - 6 \, b c^{4} d^{2} e + 4 \, {\left (b^{2} c^{3} - a c^{4}\right )} d e^{2} - {\left (b^{3} c^{2} - 2 \, a b c^{3}\right )} e^{3}\right )} \sqrt {-4 \, c^{2} d + 2 \, {\left (b c + \sqrt {b^{2} - 4 \, a c} c\right )} e}\right )} \arctan \left (\frac {2 \, \sqrt {\frac {1}{2}} \sqrt {x e + d}}{\sqrt {-\frac {2 \, c^{2} d - b c e - \sqrt {-4 \, {\left (c^{2} d^{2} - b c d e + a c e^{2}\right )} c^{2} + {\left (2 \, c^{2} d - b c e\right )}^{2}}}{c^{2}}}}\right )}{4 \, {\left (\sqrt {b^{2} - 4 \, a c} c^{4} d^{2} - \sqrt {b^{2} - 4 \, a c} b c^{3} d e + \sqrt {b^{2} - 4 \, a c} a c^{3} e^{2}\right )} c^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate((e*x+d)^(3/2)/(c*x^2+b*x+a),x, algorithm="giac")
[Out]
2*sqrt(x*e + d)*e/c + 1/4*(sqrt(-4*c^2*d + 2*(b*c - sqrt(b^2 - 4*a*c)*c)*e)*(2*(b^2*c - 4*a*c^2)*d*e^2 - (b^3
- 4*a*b*c)*e^3)*c^2 - 2*(sqrt(b^2 - 4*a*c)*c^3*d^2*e - sqrt(b^2 - 4*a*c)*b*c^2*d*e^2 + sqrt(b^2 - 4*a*c)*a*c^2
*e^3)*sqrt(-4*c^2*d + 2*(b*c - sqrt(b^2 - 4*a*c)*c)*e)*abs(c) - (4*c^5*d^3 - 6*b*c^4*d^2*e + 4*(b^2*c^3 - a*c^
4)*d*e^2 - (b^3*c^2 - 2*a*b*c^3)*e^3)*sqrt(-4*c^2*d + 2*(b*c - sqrt(b^2 - 4*a*c)*c)*e))*arctan(2*sqrt(1/2)*sqr
t(x*e + d)/sqrt(-(2*c^2*d - b*c*e + sqrt(-4*(c^2*d^2 - b*c*d*e + a*c*e^2)*c^2 + (2*c^2*d - b*c*e)^2))/c^2))/((
sqrt(b^2 - 4*a*c)*c^4*d^2 - sqrt(b^2 - 4*a*c)*b*c^3*d*e + sqrt(b^2 - 4*a*c)*a*c^3*e^2)*c^2) - 1/4*(sqrt(-4*c^2
*d + 2*(b*c + sqrt(b^2 - 4*a*c)*c)*e)*(2*(b^2*c - 4*a*c^2)*d*e^2 - (b^3 - 4*a*b*c)*e^3)*c^2 + 2*(sqrt(b^2 - 4*
a*c)*c^3*d^2*e - sqrt(b^2 - 4*a*c)*b*c^2*d*e^2 + sqrt(b^2 - 4*a*c)*a*c^2*e^3)*sqrt(-4*c^2*d + 2*(b*c + sqrt(b^
2 - 4*a*c)*c)*e)*abs(c) - (4*c^5*d^3 - 6*b*c^4*d^2*e + 4*(b^2*c^3 - a*c^4)*d*e^2 - (b^3*c^2 - 2*a*b*c^3)*e^3)*
sqrt(-4*c^2*d + 2*(b*c + sqrt(b^2 - 4*a*c)*c)*e))*arctan(2*sqrt(1/2)*sqrt(x*e + d)/sqrt(-(2*c^2*d - b*c*e - sq
rt(-4*(c^2*d^2 - b*c*d*e + a*c*e^2)*c^2 + (2*c^2*d - b*c*e)^2))/c^2))/((sqrt(b^2 - 4*a*c)*c^4*d^2 - sqrt(b^2 -
4*a*c)*b*c^3*d*e + sqrt(b^2 - 4*a*c)*a*c^3*e^2)*c^2)
________________________________________________________________________________________
Mupad [B]
time = 2.78, size = 2500, normalized size = 7.76 \begin {gather*} \text {Too large to display} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
int((d + e*x)^(3/2)/(a + b*x + c*x^2),x)
[Out]
(2*e*(d + e*x)^(1/2))/c - atan(((((8*(4*a^2*c^3*e^5 - a*b^2*c^2*e^5 + 4*a*c^4*d^2*e^3 + b^3*c^2*d*e^4 - b^2*c^
3*d^2*e^3 - 4*a*b*c^3*d*e^4))/c - (8*(d + e*x)^(1/2)*(-(b^5*e^3 + 8*a*c^4*d^3 - 2*b^2*c^3*d^3 - b^2*e^3*(-(4*a
*c - b^2)^3)^(1/2) + 12*a^2*b*c^2*e^3 - 24*a^2*c^3*d*e^2 + 3*b^3*c^2*d^2*e - 3*c^2*d^2*e*(-(4*a*c - b^2)^3)^(1
/2) - 7*a*b^3*c*e^3 + a*c*e^3*(-(4*a*c - b^2)^3)^(1/2) - 3*b^4*c*d*e^2 - 12*a*b*c^3*d^2*e + 3*b*c*d*e^2*(-(4*a
*c - b^2)^3)^(1/2) + 18*a*b^2*c^2*d*e^2)/(2*(16*a^2*c^5 + b^4*c^3 - 8*a*b^2*c^4)))^(1/2)*(b^3*c^3*e^3 - 2*b^2*
c^4*d*e^2 - 4*a*b*c^4*e^3 + 8*a*c^5*d*e^2))/c)*(-(b^5*e^3 + 8*a*c^4*d^3 - 2*b^2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
^(1/2)*(b^3*c^3*e^3 - 2*b^2*c^4*d*e^2 - 4*a*b*c...
________________________________________________________________________________________